package com.example.back.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("store")
public class Store {
    @TableId(value = "store_id", type = IdType.INPUT)
//    @TableField("store_id")
    private String storeId;

    @TableField("store_name")
    private String storeName;

    @TableField("store_company")
    private String storeCompany;

    @TableField("store_ton")
    private double storeTon;

    @TableField("store_count")
    private Integer storeCount;

    @TableField("store_rate")
    private double storeRate;

    @TableField("store_free")
    private Integer storeFree;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;

    @TableField("create_name")
    private String createName;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;

}
